$OpenBSD: patch-gcc_config_i386_openbsd_h,v 1.1.1.1 2016/09/04 16:20:17 pascal Exp $
--- gcc/config/i386/openbsd.h.orig	Thu Jan 10 21:38:27 2013
+++ gcc/config/i386/openbsd.h	Wed Jan 23 22:48:29 2013
@@ -38,16 +38,19 @@ along with GCC; see the file COPYING3.  If not see
 
 /* This must agree with <machine/ansi.h> */
 #undef SIZE_TYPE
-#define SIZE_TYPE "unsigned int"
+#define SIZE_TYPE "long unsigned int"
 
 #undef PTRDIFF_TYPE
-#define PTRDIFF_TYPE "int"
+#define PTRDIFF_TYPE "long int"
 
 #undef WCHAR_TYPE
 #define WCHAR_TYPE "int"
 
 #undef WCHAR_TYPE_SIZE
 #define WCHAR_TYPE_SIZE 32
+
+#undef WINT_TYPE
+#define WINT_TYPE "int"
 
 /* Assembler format: overall framework.  */
 
